package sctu.edu.java.year2016.team07.nieying.practice.Review;

/**
 * Created by Administrator on 2016/6/16 0016.
 */
public class GetDay {
    public static void main(String[] args){
        int day[]={31,12,22,25,11};
        for(int i=0;i<day.length;i++){
            System.out.println((i+1)+"月有"+day[i]+"天"+"\t");
if((i+1%3==0)){
    System.out.println('\n');
}
        }
    }
}
